package info.woodcock.mybatis.service;


import info.woodcock.mybatis.mapper.CityMapper;
import info.woodcock.mybatis.model.CityEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class CityService {

    @Autowired
    CityMapper mapper;

    public List<CityEntity> select(){
        List<CityEntity> cites = mapper.selectCity();
        return cites;
    }


}
